package cn.fourhundredandeighteen.dao;

import cn.fourhundredandeighteen.entity.Admin;
import cn.fourhundredandeighteen.view.vo.LoginVO;
import org.apache.ibatis.annotations.Param;

public interface AdminDao {
    int deleteByPrimaryKey(Long adminId);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Long adminId);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);

    String adminLogin(@Param("loginVO") LoginVO loginVO);
}